<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
    <link rel="stylesheet" href="/static/css/main.css" />
    <title>{% block title %}Tweedle Do{% endblock %}</title>
	{% block javascript %}
		<script src="http://www.google.com/jsapi"></script>
		<script>
			google.load("prototype", "1.6");
		  	google.load("scriptaculous", "1.8.1");
		</script>
		<script type="text/javascript" src="/static/javascript/tweedledo.js"></script>
	{% endblock %}
</head>

<body>
	<div id="header">
		<div id="title">
			Tweedle Do
		</div>
		<div id="user_profile">
			{% if current_person %}
			Hi {{ current_person.first_name }}, welcome to Tweedle Do <a href="{{ logout_url }}">logout</a>
			{% else %}
			<a href="{{ login_url }}">Sign In</a>
			{% endif %}
		</div>
	</div>
    <div id="content">
        {% block content %}{% endblock %}
    </div>
</body>
</html>